class Person(object):
    def job(self):
        pass


class Student(Person):
    def job(self):
        print("我是学生")


class Teacher(Person):
    def job(self):
        print("我是老师")


stu: Person = Student()
stu.job()
